package com.wish.wishhouse_foreclosure.service.impl;

import com.wish.wishhouse_foreclosure.entity.TbHouseInfo;
import com.wish.wishhouse_foreclosure.mapper.TbHouseInfoMapper;
import com.wish.wishhouse_foreclosure.service.ITbHouseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import dto.houseForeclosureDto.TbHouseInfoDto;
import org.springframework.stereotype.Service;
import vo.TbHouseInfoVo;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-31
 */
@Service
public class TbHouseInfoServiceImpl extends ServiceImpl<TbHouseInfoMapper, TbHouseInfo> implements ITbHouseInfoService {

    @Override
    public List<TbHouseInfoVo> searchHouseinfoList(TbHouseInfoDto tbHouseInfoDto) {

        return baseMapper.searchHouseinfoList(tbHouseInfoDto);
    }
    @Override
    public TbHouseInfo getHouseInfoByHouseId(String houseId) {
        return baseMapper.getHouseInfoByHouseId(houseId);
    }
}
